<?php


namespace app\cms\home\api\shopping;

use iflow\Router\Controller;
use iflow\Router\implement\Request\{ GetMapping, PostMapping, DeleteMapping, PutMapping };


#[Controller]
class shopCat {

    #[PostMapping]
    public function create() {
        // TODO: 将商品加入购物车
    }


    #[DeleteMapping]
    public function delete() {
        // TODO: 移除购物车
    }


    #[PutMapping]
    public function update() {
        // TODO: 更新购物车数据
    }

    #[GetMapping]
    public function get() {
        // TODO: 获取购物车列表
    }

}